//package org.batatasframework.support.attribute;
//
//import org.batatasframework.support.database.DatabaseMetadataSources;
//import org.batatasframework.support.database.TableMetadata;
//import org.batatasframework.support.event.SearchableRequest;
//import org.batatasframework.support.searchable.SearchableHandler;
//import org.batatasframework.support.searchable.SearchableHandlerBuilder;
//
//@Deprecated
//public class AttributeSearchableHandlerBuilder implements SearchableHandlerBuilder{
//
//	public static final SearchableHandlerBuilder handlerBuilder = new AttributeSearchableHandlerBuilder();
//	
//	private AttributeSearchableHandlerBuilder(){}
//	
//	@Override
//	public boolean accept(TableMetadata tableMetadata) {
//		return tableMetadata instanceof TableMetadataAttribute;
//	}
//
//	@Override
//	public SearchableHandler build(
//			DatabaseMetadataSources databaseMetadataSources,
//			SearchableRequest searchableConfigurable,
//			TableMetadata tableMetadata,
//			AutoCloseable needClose) throws Exception {
//		
//		return new AttributeSearchableHandler(
//				databaseMetadataSources, 
//				searchableConfigurable, (TableMetadataAttribute)tableMetadata,
//				needClose);
//	}
//
//}
